package com.personal.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "ResourcesPO", description = "查询资源表专用")
public class ResourcesPO {

    @ApiModelProperty("资源id")
    private Integer id;

    @ApiModelProperty("资源发布人")
    private Integer userId;

    @ApiModelProperty("资源标题")
    private String name;

    @ApiModelProperty("资源分类id")
    private Integer catId;

    @ApiModelProperty("销量")
    private Integer sellCount;

    @ApiModelProperty("资源内容")
    private String content;

    @ApiModelProperty("资源浏览量")
    private Long viewCount;

    @ApiModelProperty("普通价格")
    private Integer priceNormal;

    @ApiModelProperty("vip价格")
    private String priceVip;

    @ApiModelProperty("发布时间")
    private Date createTime;

}
